// -*- coding: utf-8 -*- 
/**
 * Project: Java8InActionT
 * Creator: yanking
 * Create time: 2022-01-15 17:43
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package com.StreamTrain;

public class Dishkind {
    // 使用枚举类记录各种菜系
    enum DishKind {
        MEAT("肉类"), FISH("鱼类"), OTHER("其他"), VEGETABLE("蔬菜");
        private String kind;

        DishKind(String kind) {
            this.kind = kind;
        }

        public String getKind() {
            return kind;
        }

        public void setKind(String kind) {
            this.kind = kind;
        }
    }
}
